package com.ytjj.qmyx.admin.dao;

import com.ytjj.qmyx.admin.model.response.OrderNoteResponse;
import com.ytjj.qmyx.mall.model.OrderNote;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface OrderNoteDao {

    List<OrderNoteResponse> getOrderNoteList(int orderInfoId);

    int insertOrderNote(OrderNote orderNote);

    List<OrderNote> findOrderNoteByInfoId(Integer orderInfoId);

    List<OrderNoteResponse> getOrderServiceRemark(@Param("orderInfoId") Integer orderInfoId);

    List<OrderNoteResponse> getOrderNoteListByOrderInfoIdList(@Param("orderInfoIdList")List<Integer> orderInfoIdList);
}
